home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / DATABASE / FNTSAMPL.ZIP;1 / FNTSAMPL.SMM
Encoding:
INI File  |  1992-08-30  |  5.8 KB  |  579 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     HP LaserJet Series II
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Constructs a document in Ami Pro 3.0 with samples of each available typeface
  19.     
  20.     
  21.     
  22.     
  23.     715171346
  24.     3
  25.     715165995
  26.     33
  27.     2
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Arial
  60.         240
  61.         0
  62.         16384
  63.     [algn]
  64.         1
  65.         1
  66.         216
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         16
  99.         0
  100.         0
  101.     [nfmt]
  102.         272
  103.         1
  104.         3
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Function
  169.     4
  170.     [fnt]
  171.         Arial
  172.         240
  173.         0
  174.         16385
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         0
  180.         0
  181.     [spc]
  182.         33
  183.         244
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         68
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         1
  205.         
  206.         0
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         3
  217.         .
  218.         ,
  219.         $
  220.     Body Text
  221.     0
  222.     0
  223. [lay]
  224.     Standard
  225.     513
  226.     [rght]
  227.         15840
  228.         12240
  229.         1
  230.         1440
  231.         1440
  232.         1
  233.         1440
  234.         1440
  235.         0
  236.         1
  237.         0
  238.         1
  239.         0
  240.         2
  241.         1
  242.         1440
  243.         10800
  244.         12
  245.         1
  246.         720
  247.         1
  248.         1440
  249.         1
  250.         2160
  251.         1
  252.         2880
  253.         1
  254.         3600
  255.         1
  256.         4320
  257.         1
  258.         5040
  259.         1
  260.         5760
  261.         1
  262.         6480
  263.         1
  264.         7200
  265.         1
  266.         7920
  267.         1
  268.         8640
  269.     [hrght]
  270.     [lyfrm]
  271.         1
  272.         11200
  273.         0
  274.         0
  275.         12240
  276.         1440
  277.         0
  278.         1
  279.         3
  280.         1 0 0 0 0 0 0
  281.         0
  282.         0
  283.         1
  284.     [frmlay]
  285.         1440
  286.         12240
  287.         1
  288.         1440
  289.         72
  290.         1
  291.         792
  292.         1440
  293.         0
  294.         1
  295.         0
  296.         1
  297.         1
  298.         0
  299.         1
  300.         1440
  301.         10800
  302.         1
  303.         3
  304.         9360
  305.     [txt]
  306. >
  307.     [frght]
  308.     [lyfrm]
  309.         1
  310.         13248
  311.         0
  312.         14400
  313.         12240
  314.         15840
  315.         0
  316.         1
  317.         3
  318.         1 0 0 0 0 0 0
  319.         0
  320.         0
  321.         2
  322.     [frmlay]
  323.         15840
  324.         12240
  325.         1
  326.         1440
  327.         792
  328.         1
  329.         14472
  330.         1440
  331.         0
  332.         1
  333.         0
  334.         1
  335.         1
  336.         0
  337.         1
  338.         1440
  339.         10800
  340.         2
  341.         2
  342.         4680
  343.         3
  344.         9360
  345.     [txt]
  346. >
  347. [elay]
  348. [l1]
  349.     0
  350. [pg]
  351.     2
  352.     45 0 36 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  353.     54 0 0 1025 1 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  354. [edoc]
  355. <:#284,9360>Declare    GetFonts(FontNames)
  356.  
  357. @Function@<:#293,9360>
  358.  
  359. @Function@<:#293,9360>FUNCTION PrintFonts()
  360.  
  361. <:#284,9360>DIM basefonts(1)
  362.  
  363. <:#284,9360>HourGlass(1)
  364.  
  365. <:#284,9360>IF 0 <<<;> GetFonts(&basefonts) THEN
  366.  
  367. <:#284,9360>    Message("Fonts could not be retrieved")
  368.  
  369. <:#284,9360>    EXIT FUNCTION
  370.  
  371. <:#284,9360>ENDIF
  372.  
  373. <:#284,9360>HourGlass(0)
  374.  
  375. <:#284,9360>defstyle = GetProfileString$("amipro", "defstyle", "amipro.ini")
  376.  
  377. <:#284,9360>IF defstyle = "" THEN
  378.  
  379. <:#284,9360>    defstyle = "_default.sty"
  380.  
  381. <:#284,9360>ENDIF
  382.  
  383. <:#284,9360>New(defstyle, 0, 0)
  384.  
  385. <:#284,9360>FOR i = 2 TO ArraySize(&basefonts)
  386.  
  387. <:#284,9360>    FontChange("Courier",0,0,240)
  388.  
  389. <:#284,9360>    font = basefonts(i)
  390.  
  391. <:#284,9360>    TYPE ("{font} - ")
  392.  
  393. <:#284,9360>    FontChange(font,0,0,240)
  394.  
  395. <:#284,9360>    TYPE ("The quick brown fox jumps over the lazy dog.<[>enter]")
  396.  
  397. <:#284,9360>NEXT
  398.  
  399. <:#284,9360>GoToCmd(4,1,2)
  400.  
  401. <:#284,9360>SetStyle("Title")
  402.  
  403. <:#284,9360>TYPE ("Sample of all typefaces available in Ami Pro")
  404.  
  405. @Function@<:#293,9360>END FUNCTION
  406.  
  407. <:#284,9360>
  408.  
  409. @Function@<:#293,9360>FUNCTION GetFonts(BaseFonts)
  410.  
  411. <:#284,9360>mpath=GetMacPath$()
  412.  
  413. <:#284,9360>fdll="{mpath}fontdll.exe"
  414.  
  415. <:#284,9360>StatusBarMsg("Checking For Available Fonts...")
  416.  
  417. <:#284,9360>dllfile=FindFirst$(fdll,0)
  418.  
  419. <:#284,9360>IF dllfile<<<;>"FONTDLL.EXE" THEN
  420.  
  421. <:#284,9360>    Message("Can't Find File Fontdll.exe, Exiting Macro")
  422.  
  423. <:#284,9360>    Return -1
  424.  
  425. <:#284,9360>ENDIF
  426.  
  427. <:#284,9360>Idi=DLLLoadLib(fdll, "FNT_FontInit", "A")
  428.  
  429. <:#284,9360>DLLCall(Idi)
  430.  
  431. <:#284,9360>Idf=DLLLoadLib(fdll, "FNT_FontFace", "F")
  432.  
  433. <:#284,9360>i=0
  434.  
  435. <:#284,9360>face="a"
  436.  
  437. <:#284,9360>WHILE (face <<<;> "")
  438.  
  439. <:#284,9360>    face=DLLCall(Idf)
  440.  
  441. <:#284,9360>    i = i+1
  442.  
  443. <:#284,9360>    ArrayInsertByKey(&basefonts,face,0)
  444.  
  445. <:#284,9360>WEND
  446.  
  447. <:#284,9360>Idc=DLLLoadLib(fdll, "FNT_FontClose", "I")
  448.  
  449. <:#284,9360>result=DLLCall(Idc)
  450.  
  451. <:#284,9360>DllFreeLib(Idc)
  452.  
  453. <:#284,9360>DllFreeLib(Idf)
  454.  
  455. <:#284,9360>DllFreeLib(Idi)
  456.  
  457. <:#284,9360>StatusBarMsg("")
  458.  
  459. @Function@<:#293,9360>END FUNCTION
  460.  
  461. @Function@<:#293,9360>
  462.  
  463. >
  464.  
  465. [Embedded]
  466. 00004623
  467. >
  468. [macsum] 2
  469. PrintFonts 0 0 5 2
  470. GetFonts 601 1 10 27
  471. [macse]
  472. 14 PrintFonts
  473. 5 1
  474. 21 1 [X]
  475. 0 296 1
  476. 5 0
  477. 16 GetFonts &1
  478. 13
  479. 18 1
  480. 11 00000131
  481. 0 3 "Fonts could not be retrieved"
  482. 6 0
  483. 15
  484. 9
  485. 0 296 0
  486. 0 286 "amipro" "defstyle" "amipro.ini"
  487. 13
  488. 8 2
  489. 6 2
  490. 7 ""
  491. 18 0
  492. 11 00000242
  493. 7 "_default.sty"
  494. 8 2
  495. 2 101 1 "{2}" 0 0
  496. 5 2
  497. 8 3
  498. 0 1046 &1
  499. 13
  500. 6 3
  501. 18 2
  502. 12 00000356
  503. 10 00000505
  504. 5 1
  505. 6 3
  506. 3 0
  507. 8 3
  508. 10 00000271
  509. 2 251 1 "Courier" 0 0 240
  510. 6 3
  511. 22 1
  512. 8 4
  513. 0 6 "{4} - "
  514. 2 251 1 "{4}" 0 0 240
  515. 0 6 "The quick brown fox jumps over the lazy dog.[13]"
  516. 10 00000323
  517. 2 452 1 4 1 2
  518. 2 323 1 "Title"
  519. 0 6 "Sample of all typefaces available in Ami Pro"
  520. 6 0
  521. 15
  522. 9
  523. 14 GetFonts
  524. 0 295
  525. 13
  526. 8 2
  527. 7 "{2}fontdll.exe"
  528. 8 3
  529. 0 789 "Checking For Available Fonts..."
  530. 0 280 "{3}" 0
  531. 13
  532. 8 4
  533. 6 4
  534. 7 "FONTDLL.EXE"
  535. 18 1
  536. 11 00000223
  537. 0 3 "Can't Find File Fontdll.exe, Exiting Macro"
  538. 5 -1
  539. 15
  540. 9
  541. 0 297 "{3}" "FNT_FontInit" "A"
  542. 13
  543. 8 5
  544. 0 284 "{5}"
  545. 0 297 "{3}" "FNT_FontFace" "F"
  546. 13
  547. 8 6
  548. 5 0
  549. 8 7
  550. 7 "a"
  551. 8 8
  552. 6 8
  553. 7 ""
  554. 18 1
  555. 11 00000444
  556. 0 284 "{6}"
  557. 13
  558. 8 8
  559. 6 7
  560. 5 1
  561. 3 0
  562. 8 7
  563. 0 1045 &0 "{8}" 0
  564. 10 00000340
  565. 0 297 "{3}" "FNT_FontClose" "I"
  566. 13
  567. 8 9
  568. 0 284 "{9}"
  569. 13
  570. 8 10
  571. 0 298 "{9}"
  572. 0 298 "{6}"
  573. 0 298 "{5}"
  574. 0 789 ""
  575. 6 1
  576. 15
  577. 9
  578. 00004648
  579.